package com.hmdp.utils;

public interface ILock {
    /*尝试上锁，上锁成功返回true,失败返回false,非阻塞*/
    public boolean tryLock(long timeOut);
    /*解锁*/
    public void unLock();
}
